home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 July: Mac OS SDK / Dev.CD Jul 96 SDK / Dev.CD Jul 96 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / UserAlert ƒ / UserAlert.make < prev    next >
Encoding:
Text File  |  1995-04-10  |  1.2 KB  |  47 lines  |  [TEXT/MPS ]

  1. #    File:        UserAlert.make
  2. #   Target:     UserAlert
  3. #   Sources:    UserAlert.a UserAlert.c UserAlert.r
  4. #   Created:    Wednesday, Nov. 11, 1992 6:42:32 PM
  5. #
  6. #    Makefile for an extension that adds an alert item to the
  7. #    desktop printer menu and also displays it during despooling.
  8. #    
  9. #    Dave Hersey
  10. #    Apple Developer Technical Support
  11. #
  12. #    12/01/92 - dmh - created.
  13. #    12/22/93 - dmh - updated for b3.
  14. #     5/03/94 - dmh - updated for f2.
  15. #     8/24/94 - dmh - finalized.
  16. #
  17.  
  18. #    Alias to the path for the GX interface files.
  19.  
  20. INTPATH = {CIncludes}
  21.  
  22.  
  23. #    Creator type we'll use:
  24.  
  25. kCreator = 'DTPA'
  26.  
  27. OBJECTS = "UserAlert.a.o" "UserAlert.c.o"
  28.  
  29. AsmOptions        = -sym off -i "{INTPATH}" -case obj
  30. CompileOptions    = -opt full -d applec -b2 -r -i "{INTPATH}"
  31.  
  32. "UserAlert.a.o" ƒ "UserAlert.make" "UserAlert.a"
  33.      Asm {AsmOptions} "UserAlert.a"
  34. "UserAlert.c.o" ƒ "UserAlert.make" "UserAlert.c"
  35.      C {CompileOptions} "UserAlert.c"
  36.  
  37. "UserAlert" ƒƒ "UserAlert.make" "UserAlert.r" {OBJECTS}
  38.     Link    -ra =resSysHeap,resPurgeable    ∂
  39.             -t 'pext'                        ∂
  40.             -c {kCreator}                    ∂
  41.             -rt pext=0                        ∂
  42.             -sg SEGS                        ∂
  43.             -m EntryPoint                    ∂
  44.             {OBJECTS}                        ∂
  45.             -o "UserAlert";
  46.     SetFile "UserAlert" -a iB;
  47.     Rez -i "{INTPATH}" -rd -o "UserAlert" "UserAlert.r" -append